<!-- 基金条目 查看详情-->
<div class="modal-dialog modal-lg">
  <div class="modal-content">
    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal" aria-label="Close">
        <span aria-hidden="true">&times;</span>
      </button>
      <h4 class="modal-title">查看条目</h4>
    </div>
    <div class="modal-body">
      <form class="form-inline">
        <div class="row">
          <div class="form-group col-lg-12 col-md-12" style="margin-top:20px">
            <label class="control-label">属性：</label>
            <select class="form-control" [(ngModel)]="getBody.sItemType" name="sItemType">
              <option [value]="''" selected="selected">全部</option>
              <option [value]="item.sItemKey" *ngFor="let item of dictionary.QDII_RECORD_TYPE">{{item.sItemValue}}</option>
            </select>
            <label class="control-label">条款出处：</label>
            <input type="text" class="form-control" placeholder="条款出处" [(ngModel)]="getBody.sFileSource" name="sFileSource">
            <label class="control-label">适用QDII类别：</label>
            <select class="form-control" style="max-width:120px !important" [(ngModel)]="getBody.sFundType" name="sFundType">
              <option [value]="''" selected="selected">全部</option>
              <option [value]="item.sItemKey" *ngFor="let item of dictionary.QD_ACCOUNT_TYPE">{{item.sItemValue}}</option>
            </select>
            <label class="control-label">文件名称：</label>
            <input type="text" class="form-control" placeholder="文件名称" maxlength="100" [(ngModel)]="getBody.sFileName" name="sFileName">
          </div>
          <div class="form-group col-sm-12" style="margin-top:10px">
            <label class="control-label">内容：</label>
            <input type="text" class="form-control" placeholder="内容" maxlength="2000" [(ngModel)]="getBody.f1" name="f1">
            <button type="button" class="btn btn-primary" (click)="loadlist(1)">
              <i class="fa fa-search"></i>查询</button>
            <button *ngIf="_.includes(menuResourceSet,'btn-QDII-export')" type="button" class="btn btn-primary" (click)="exportExcel()">
              <i class="fa fa-sign-out"></i>导出</button>
          </div>
        </div>
      </form>
      <div class="ibt-fixed-table-container" style="margin-top:10px;">
        <div class="table-scroll-content">
          <table class="table table-bordered table-hover table-striped table-keep-line" style="margin-top:unset !important;">
            <thead>
              <tr role="row">
                <th>
                  <div class="cell">是否有效</div>
                </th>
                <th>
                  <div class="cell" style="min-width:100px !important">属性</div>
                </th>

                <th>
                  <div class="cell" style="min-width:150px !important">条款出处</div>
                </th>
                <th>
                  <div class="cell">文件名称</div>
                </th>
                <th>
                  <div class="cell">适用QDII类别</div>
                </th>
                <th>
                  <div class="cell">适用QDII名称</div>
                </th>
                <th>
                  <div class="cell">内容</div>
                </th>
                <th>
                  <div class="cell">指标释义</div>
                </th>
                <th>
                  <div class="cell">bloomberg系统能否控制</div>
                </th>
                <th>
                  <div class="cell">系统设置代码</div>
                </th>
                <th>
                  <div class="cell" style="min-width:70px !important">阀值</div>
                </th>
                <th>
                  <div class="cell">人工控制方法说明</div>
                </th>
                <th>
                  <div class="cell">系统实施相关条件</div>
                </th>
                <th>
                  <div class="cell" style="min-width:70px !important">备注2</div>
                </th>
              </tr>
            </thead>
            <tbody>
              <tr *ngFor="let item of listData;let index=index">
                <td>
                  <div class="cell">{{item.sValidZh}}</div>
                </td>
                <td>
                  <div class="cell">{{item.sItemTypeZh}}</div>
                </td>
                <td>
                  <div class="cell">{{item.sFileSource}}</div>
                </td>
                <td>
                  <div class="cell">{{item.sFileName}}</div>
                </td>
                <td>
                  <div class="cell">{{item.sFundTypeZh}}</div>
                </td>
                <td>
                  <div class="cell">{{item.sFundGroupdsZh}}</div>
                </td>
                <td>
                  <div class="cell">{{item.f1}}</div>
                </td>
                <td>
                  <div class="cell">{{item.f3}}</div>
                </td>
                <td>
                  <div class="cell">{{item.f4Zh}}</div>
                </td>
                <td>
                  <div class="cell">{{item.f5}}</div>
                </td>
                <td>
                  <div class="cell">{{item.f6}}</div>
                </td>
                <td>
                  <div class="cell">{{item.f7}}</div>
                </td>
                <td>
                  <div class="cell">{{item.f8}}</div>
                </td>
                <td>
                  <div class="cell">{{item.f10}}</div>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>

      <div class="box-footer clearfix" style="width:100%;">
        <app-pagination [currentPageNum]="listPageInfo.currentPageNum" [pagesShow]="" [totalPages]="listPageInfo.totalPages" (pageChanged)="pageNavigation($event)">
          <div class="pull-left pagination-detail" data-pagination-additional="true">
            <span class="pagination-info">
              当前显示第{{listPageInfo.startRow}}到第{{listPageInfo.endRow}}条，总共{{listPageInfo.total}}条，
            </span>
            <span class="page-list">
              每页记录
              <span class="btn-group dropup">
                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                  <span class="page-size">{{listPageInfo.pageSize}}</span>
                  <span class="caret"></span>
                </button>
                <ul class="dropdown-menu" role="menu">
                  <li *ngFor="let i of listPageInfo.pageList" role="menuitem" [class.active]="listPageInfo.pageSize === i" (click)="sizeChange(i)">
                    <a>{{i}}</a>
                  </li>
                </ul>
              </span>
              条
            </span>
          </div>
        </app-pagination>
      </div>
    </div>
    <div class="modal-footer">
      <button type="button" class="btn btn-default center-block" data-dismiss="modal">退出</button>
    </div>
  </div>
</div>
